package org.hotel.user;

import lombok.RequiredArgsConstructor;
import org.hotel.Room;
import org.hotel.level.UserLevel;

@RequiredArgsConstructor
public abstract class User {
    private final UserLevel level;

    public double getRoomPrice(final Room room) {
        return level.getRoomPrice(room);
    }
}
